Discussions
Activity
Sign In
How it works
Borko Jandras
Activity
Discussions
Comments
48
Unknown command: 'collectstatic'
Don't forget to "reload" the supervisor configuration after you make changes to its configuration file, for changes to take effect. There should be individual log files for objavi-celery-worker and objavi-celery-camera, both for stder…
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
I just remembered that you are using a virtual environment for running Objavi. In this case Celery workers should also be started with Python interpreter from the virtualenv. Edit the /etc/supervisor/conf.d/objavi.conf file and make sure that /usr…
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
Logs for Celery worker and camera are in /var/log/supervisor. See what's keeping them from starting.
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
Start the supervisorclt program and make sure that objavi-celery-worker and objavi-celery-camera programs are running.
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
Check the logs, for both Booktype and Objavi, to see where it got stuck.
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
Remove the "http://" from THIS_BOOKI_SERVER, so it looks like this: THIS_BOOKI_SERVER = "localhost:8080"
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
Both Objavi and Booktype have settings.py. Which one is this? In Booktype's make sure OBJAVI_URL and THIS_BOOKI_SERVER are correct.
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
This is the page that is served by the "default" web site that serves static content from the /var/www directory. The message you see is in the /var/www/index.html file. If you see this page, it means that the default web site is not dis…
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
Actually, it appears to be working. The URL you tried, http://127.0.0.1/objavi_site/, is not valid. Try "http://127.0.0.1/"
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
Ok, so you mentioned that you have Django in a virtual environment. In that case the mod_wsgi should be using the Python interpreter from that virtual environment and not the system one. You should be using the WSGIPythonHome directive in the apac…
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
What version of Django do you have installed? Go to /var/www/objavi_site, and there run the following commands: python manage.py shellimport djangoprint django.get_version()
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
Disable the default web site using "a2dissite default" and reload.
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
If you used the provided apache.conf file for Objavi, then Objavi is not on localhost/objavi_site but on localhost/. Did you tweak the configuration file? What do you see in the web browser when you open http://localhost/
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
If you used the generated apache.conf file, then the OBJAVI_URL is "http://127.0.0.1/". The problem here is that both Booktype and Objavi correspond to this same address. You can get around this problem by using ServerName directive in v…
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
The error log warns that mod_wsgi is compiled using Python runtime 2.7.2, while the system provides Python 2.7.5. Not sure if this is the culprit in this case; probably isn't. I would wager that you haven't configured the Apache virtual h…
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
No, it is not good. It appears that you haven't configured the Apache server for Objavi properly.
Comment by
Borko Jandras
July 2013
permalink
Unknown command: 'collectstatic'
What do you see when you go to 127.0.0.1/objavi_site?
Comment by
Borko Jandras
July 2013
permalink
1.6.1 - couple of issues, basics are working :)
Covers are not included for book (printed) PDFs, as book covers are printed separately. For screen PDFs covers should be included. Chapters start on a odd page -- maybe that's why there is an empty page.
Comment by
Borko Jandras
July 2013
permalink
Error log file for publishing errors
How about THIS_BOOKI_SERVER?
Comment by
Borko Jandras
May 2013
permalink
Error log file for publishing errors
Hey Jim! What objavi server are you using for publishing? The OBJAVI_URL setting (in settings.py) defines this. - Borko
Comment by
Borko Jandras
May 2013
permalink
flip ebook pages from right to left
Will look into it this week hopefully. I have a personal situation on hand currently.
Comment by
Borko Jandras
May 2013
permalink
flip ebook pages from right to left
Could be a bug in the ebook publishing process. I'll look into it.
Comment by
Borko Jandras
May 2013
permalink
flip ebook pages from right to left
What type of ebook did you make -- kindle, ipad or general?
Comment by
Borko Jandras
May 2013
permalink
problem to publish books - help please!!!
I checked the log on objavi.booktype.pro and I see a bunch of request with THIS_BOOKI_SERVER empty. If you are using Apache to serve Booktype, make sure you have restarted it after changing any of the settings in settings.py. As for pricing -- that …
Comment by
Borko Jandras
April 2013
permalink
problem to publish books - help please!!!
What value do you have configured for the THIS_BOOKI_SERVER setting?
Comment by
Borko Jandras
April 2013
permalink
problem to publish books - help please!!!
You need to set the OBJAVI_URL setting to "http://objavi.booktype.pro". Do this by editing Booktype's settings.py file. For additional instructions check out the Booktype wiki at https://wiki.sourcefabric.org/display/Booktype/Install…
Comment by
Borko Jandras
April 2013
permalink
problem to publish books - help please!!!
Use objavi.booktype.pro. It's free to use.
Comment by
Borko Jandras
April 2013
permalink
Installed Objavi & Booktype on Ubuntu 12.04 can't print PDFS & couple other issues
If it is in that directory then check the settings.py for DATA_URL and DATA_ROOT. The PDF should be generated in the "data/books" subdir of /var/www/objavi_site, and not in /var/www/objavi_site itself. Best way to do this is to run manage…
Comment by
Borko Jandras
April 2013
permalink
Installed Objavi & Booktype on Ubuntu 12.04 can't print PDFS & couple other issues
@K.Obibini: 1) What's the value of OBJAVI_URL in your settings.py?2) Are you certain that the file "fff-en-2013.04.02-01.31.20.pdf" is in /var/www/objavi_site and not it /var/www/objavi_site/data/books?
Comment by
Borko Jandras
April 2013
permalink
New installation on Ubuntu 12.04. Unable to connect to objavi server, unable to create own
Hello. The installation of Objavi requires some Python modules from Booktype. Use the "--with-booktype" command line parameter when invoking the "create_site" script to specify the location of Booktype sources. - Borko
Comment by
Borko Jandras
March 2013
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Stop following
About
Username
Borko Jandras
Joined
June 2012
Visits
0
Last Active
July 2013
Roles
Member
Posts
48
Friends
Followed by 2 people
My Badges
Total Points: 70
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339